home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 3 / ct-rom iiib.zip / ct-rom iiib / WINDOWS / DIVERSEN / WINE02BX / C-STYLE.ELC < prev    next >
Text File  |  1993-03-28  |  3KB  |  26 lines

  1. ;;; compiled by @win386 on Sat Mar 13 14:30:33 1993
  2. ;;; from file c:/src/lucid-19.4/lisp/modes/c-style.el
  3. ;;; emacs version 19.3 Lucid.
  4. ;;; bytecomp version 2.08; 27-aug-92.
  5. ;;; optimization is on.
  6. ;;; this file uses opcodes which do not exist in Emacs18.
  7.  
  8. (if (and (boundp 'emacs-version)
  9.      (or (and (boundp 'epoch::version) epoch::version)
  10.          (string-lessp emacs-version "19")))
  11.     (error "This file was compiled for Emacs19."))
  12.  
  13. (defvar default-c-style 'GNU "\
  14. *The default value of c-style.  Set this in your .emacs.")
  15. (byte-code "└┴!¼é┬└ç" [boundp c-style-alist ((GNU (c-indent-level 2) (c-continued-statement-offset 2) (c-brace-offset 0) (c-argdecl-indent 5) (c-label-offset -2)) (BSD (c-indent-level 8) (c-continued-statement-offset 8) (c-brace-offset -8) (c-argdecl-indent 8) (c-label-offset -8)) (K&R (c-indent-level 5) (c-continued-statement-offset 5) (c-brace-offset -5) (c-argdecl-indent 0) (c-label-offset -5)) (BS (c-indent-level 4) (c-continued-statement-offset 4) (c-brace-offset -4) (c-argdecl-indent 4) (c-label-offset -4)) (LRS (c-indent-level 4) (c-continued-statement-offset 4) (c-brace-offset 0) (c-argdecl-indent 4) (c-label-offset -2) (c-auto-newline nil)) (Plauger (c-indent-level 0) (c-continued-statement-offset 8) (c-continued-brace-offset -8) (c-brace-offset 8) (c-brace-imaginary-offset 0) (c-argdecl-indent 0) (c-label-offset -8) (c-auto-newline t) (c-tab-always-indent t)) (Alman (c-argdecl-indent 0) (c-brace-imaginary-offset 2) (c-brace-offset 0) (c-continued-statement-offset 2) (c-indent-level 0) (c-label-offset -2) (c-auto-newline t) (comment-column 40) (tab-width 2) (fill-column '79)) (Gould (c-indent-level 4) (c-continued-statement-offset 4) (c-brace-offset -4) (c-argdecl-indent 8) (c-label-offset -2) (c-brace-imaginary-offset 0)) (WRS (c-indent-level 0) (c-continued-statement-offset 4) (c-brace-offset 0) (c-argdecl-indent 4) (c-label-offset -2) (c-brace-imaginary-offset 4) (c-continued-brace-offset -4)))] 2)
  16. (defvar c-style nil "\
  17. The buffer local c-mode indentation style.")
  18. (defvar c-style-name nil "\
  19. The style name for a c-mode indentation style.
  20. This is to be set by set-c-style, and used by the mode line.")
  21. (byte-code "└    ₧¼ä    ┬ñê└ç" [c-style-name minor-mode-alist ((c-style-name c-style-name))] 2)
  22. (fset 'set-c-style #[(&optional style) "└┴\n\"t½¥─┼╞\"╚ !╔#ë\n╦ÿ½ä¬ä╠\n!)«é╬╧!ê >½å¬å╨╤\"ê╥╙\"ê╬╘!ê┼╒\"└╓\n₧A\"ê)ç" [mapcar car c-style-alist c-styles completing-read format "Set c-mode indentation style to (default %s): " default-c-style vconcat #[(arg) "    >ç" [arg c-styles] 2] style-string "" intern style make-local-variable c-style error "Undefined c style: %s" message "c-style: %s" c-style-name " %s" #[(c-style-pair) "└    @!ê    @    A@Lç" [make-local-variable c-style-pair] 2]] 5 "\
  23. Set up the c-mode style variables from STYLE if it is given, or
  24. default-c-style otherwise.  It makes the c indentation style variables
  25. buffer local." nil])
  26.